﻿using System;
using GoogleEarthClasses.Entities;
using System.Collections.Generic;

namespace GoogleEarthClasses.Entities
{
    [Serializable]
    public class EPolygonType
    {
        #region Private Members
        string m_TypeName;
        int m_FillOpacity;
        string m_LineRgb;
        int m_LineWidth;
        string m_FillRgb;
        List<EPolygon> m_Polygons;
        #endregion Private Members

        #region Properties
        public string TypeName
        {
            get { return m_TypeName; }
            set { m_TypeName = value; }
        }
        public int FillOpacity
        {
            get { return m_FillOpacity; }
            set { m_FillOpacity = value; }
        }
        public string LineRgb
        {
            get { return m_LineRgb; }
            set { m_LineRgb = value; }
        }
        public int LineWidth
        {
            get { return m_LineWidth; }
            set { m_LineWidth = value; }
        }
        public string FillRgb
        {
            get { return m_FillRgb; }
            set { m_FillRgb = value; }
        }
        public List<EPolygon> Polygons
        {
            get { return m_Polygons; }
            set { m_Polygons = value; }
        }
        #endregion Properties

        #region Constructors
        public EPolygonType()
        { }
        public EPolygonType(string TypeName)
        {
            m_TypeName = TypeName;
        }
        public EPolygonType(string m_TypeName, int m_FillOpacity, string m_LineRgb, int m_LineWidth, string m_FillRgb, List<EPolygon> m_Polygons)
        {
            m_TypeName = TypeName;
            m_TypeName = TypeName;
            m_FillOpacity = FillOpacity;
            m_LineRgb = LineRgb;
            m_LineWidth = LineWidth;
            m_FillRgb = FillRgb;
            m_Polygons = Polygons;
        }
        #endregion Constructors
    }
}
